package org.example.ymcc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.ymcc.domain.Login;
import org.example.ymcc.domain.Permission;

import java.util.List;

/**
 * <p>
 * 登录表 Mapper 接口
 * </p>
 *
 * @author zcj
 * @since 2024-06-06
 */
public interface LoginMapper extends BaseMapper<Login> {
    List<Permission> selectPermissionByUserId(Long userId);

    String selectRedirectByClientId(String clientId);
}
